import { Navigate } from 'react-router-dom'
import { Children, lazy } from 'react'
let Layout = lazy(() => import("../../views/chen/layout"))
let Home = lazy(() => import("../../views/chen/home"))
let Cate = lazy(() => import("../../views/chen/cate"))
let Shopcart = lazy(() => import("../../views/meng/shopcart"))
let My = lazy(() => import("../../views/zhu/my"))
let Chen = [
    {
        path: "/chen/layout",
        element: <Layout></Layout>,
        children: [
            {
                path: "/chen/layout/home",
                element: <Home></Home>
            },
            {
                path: "/chen/layout/cate",
                element: <Cate></Cate>
            },
            {
                path: "/chen/layout/shopcart",
                element: <Shopcart></Shopcart>
            },
            {
                path: "/chen/layout/my",
                element: <My></My>
            },
        ]
    },
   
]

export default Chen